package com.tsmti.doctor.service.impl;

import com.tsmti.core.common.service.impl.BaseServiceImpl;
import com.tsmti.doctor.entity.PimsReqFieldNurse;
import com.tsmti.doctor.service.PimsReqFieldNurseService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Package：com.tsmti.doctor.service.impl
 * @Class：PimsReqFieldNurseServiceImpl
 * @Description： TODO
 * @Author：dcd
 * @Date：Created in 2018/11/16 4:18 PM
 * @Company:
 * @Version：
 * @Modified By:
 */
@Service("pimsReqFieldNurseService")
public class PimsReqFieldNurseServiceImpl extends BaseServiceImpl<PimsReqFieldNurse> implements PimsReqFieldNurseService {
    @Override
    public List<PimsReqFieldNurse> getByRequisitionId(Long requisitionId) {
        return findByHql(" from PimsReqFieldNurse where requisitionId = ?", requisitionId);
    }
}
